<template>
  <scroll>
    <list :data="songs" type="song" @select="emitSelect"></list>
  </scroll>
</template>

<script>
  import List from "@/base/list/List";
  import Scroll from "@/base/scroll/Scroll";
  export default {
      props: {
          songs: {
              type: Array,
              default(){return []}
          }
      },
      components: {List,Scroll},
      methods: {
          emitSelect(payload){
              this.$emit('select',payload)
          }
      }
  }
</script>

<style scoped lang="stylus">
</style>
